import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import { ElMessage } from 'element-plus'
import 'element-plus/theme-chalk/src/message.scss'
import './assets/styles/index.scss'
import 'virtual:svg-icons-register'

const app = createApp(App)
const pinia = createPinia()

app.config.globalProperties.$message = ElMessage

app.use(pinia)
app.use(router)
app.mount('#app')